package com.thinkingstar.iads.datacenter.entity;

import java.io.Serializable;

import org.nutz.dao.entity.annotation.ColDefine;
import org.nutz.dao.entity.annotation.ColType;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Table;

import com.thinkingstar.iads.common.entity.AbstractEntites;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/***
 * @ClassName: dc_constant_version 
 * @Description: 数据中心_公式_公式集
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Comment("数据中心_公式_公式集")
@Table("dc_formula_data")
public class DcProjectDesignFormulaData extends AbstractEntites implements Serializable{
	
	@Comment("公式版本库主键")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 32)
	protected String formula_version_id;
	
	@Comment("指定常量")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 32)
	protected String constant_code;
	
	@Comment("指定变量")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 32)
	protected String variable_code;
	
	@Comment("排序规则")
	@Column
	@ColDefine(type = ColType.INT , width = 11)
	protected int orderBy;
	
	
	@Comment("公式编号")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 50)
	protected String formula_code;
	
	@Comment("公式全称")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 100)
	protected String formula_name;
	
	@Comment("指定表达式")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 32)
	protected String expression;
	
	@Comment("描述")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 32)
	protected String description;

}
